package chapter67;

public class TestStudent1 {

	public static void main(String[] args) {
		Student1 stu1 = new Student1("张三",3,15);
		Student1 stu2 = new Student1("张三",3,15);
		boolean flag = stu1.equals(stu2);
		System.out.println(flag);
		System.out.println(stu1 == stu2);

	}

}
